<?php
namespace app\admin\controller;
use app\admin\controller\Common;
use app\BaseController;
use app\service\orderService;

use think\facade\Db;
use think\Controller;

use think\facade\Log;
use invoice\Api;
use printing\printDemo;
class Printtest extends BaseController {
    public function index(){
        $machineCode="";
        $community_name="早早测试小区";
        $invoiceurl="www.baidu.com";
        (new printDemo())->invoice($machineCode,$community_name,$invoiceurl);
    }
}